Hello, slight problem here.

I have two classes which look kinda like this:

Code:
class A {
	...

	public:
		T *operator[] (int);

	...
};

class B : public A {
	...
};
And a variable:
Code:
B x;
But when I try to do something like x[0] it returns an object of type B, not an object of type T.

Do I need to do something special to get it to return a T ?